<?php /* Smarty version 2.6.18, created on 2010-10-27 15:58:42
         compiled from admin/alumni/news/frm_edit.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'utf8_escape_html', 'admin/alumni/news/frm_edit.tpl', 9, false),)), $this); ?>
<h2> Edit News: </h2>
<form method="POST" action="" enctype="multipart/form-data">
<input type="hidden" name="action" id="action" value="update">
<input type="hidden" name="id" id="id" value="<?php echo $this->_tpl_vars['arrInfoNews']['id']; ?>
">
<table border="1" width="100%" cellpadding="2" cellspacing="1" bgcolor="#F0F0F0">
	<tr>
  	<td align="right" style="vertical-align:top; width:120px;">Title</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="title" name="title" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrInfoNews']['title'])) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?>
" size="80" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Image</td>
    <td align="left" style="vertical-align:top">
    	<input type="file" id="image" name="image" size="60" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Status:</td>
    <td align="left" style="vertical-align:top">
    	<select name="status" id="status">
      	<option value="1" <?php if ($this->_tpl_vars['arrInfoNews']['status'] == 1): ?>selected="selected"<?php endif; ?>>Yes</option>
        <option value="0" <?php if ($this->_tpl_vars['arrInfoNews']['status'] == 0): ?>selected="selected"<?php endif; ?>>No</option>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Send Newsletter:</td>
    <td align="left" style="vertical-align:top">
    	<select name="newsletter" id="newsletter">
      	<option value="0" <?php if ($this->_tpl_vars['arrInfoNews']['newsletter'] == 0): ?>selected="selected"<?php endif; ?>>No</option>
      	<option value="1" <?php if ($this->_tpl_vars['arrInfoNews']['newsletter'] == 1): ?>selected="selected"<?php endif; ?>>Yes</option>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Summary</td>
    <td align="left" style="vertical-align:top">
    	<textarea name="summary" id="summary" cols="100" rows="3"><?php echo $this->_tpl_vars['arrInfoNews']['summary']; ?>
</textarea>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Content</td>
    <td align="left" style="vertical-align:top"><?php echo $this->_tpl_vars['fck_editor']; ?>
</td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">&nbsp;</td>
    <td align="left" style="vertical-align:top">
    	<input type="submit" value="Save" />
			<input id="btnCancelEdit" type="button" value="Cancel" onclick="javascript:history.back();" />
    </td>
  </tr>
</table>
</form>